package domains;

public class Message {
	private int messageID;
	private String subject;
	private String messageText;
	private String time;
	
	public Message(int messageID, String subject, String messageText, String time) {
		this.messageID = messageID;
		this.subject = subject;
		this.messageText = messageText;
		this.time = time;
	}
	
	public Message(String subject, String messageText, String time) {
		this.subject = subject;
		this.messageText = messageText;
		this.time = time;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getMessageText() {
		return messageText;
	}

	public void setMessageText(String messageText) {
		this.messageText = messageText;
	}

	public int getMessageID() {
		return messageID;
	}

	public void setMessageID(int messageID) {
		this.messageID = messageID;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	
}
